import request from '@/utils/request'

// 查询bumenbiao列表
export function listMydeviceinfo(query) {
  return request({
    url: '/system/mydeviceinfo/list',
    method: 'get',
    params: query
  })
}

// 查询bumenbiao详细
export function getMydeviceinfo(id) {
  return request({
    url: '/system/mydeviceinfo/' + id,
    method: 'get'
  })
}

// 新增bumenbiao
export function addMydeviceinfo(data) {
  return request({
    url: '/system/mydeviceinfo',
    method: 'post',
    data: data
  })
}

// 修改bumenbiao
export function updateMydeviceinfo(data) {
  return request({
    url: '/system/mydeviceinfo',
    method: 'put',
    data: data
  })
}

// 删除bumenbiao
export function delMydeviceinfo(id) {
  return request({
    url: '/system/mydeviceinfo/' + id,
    method: 'delete'
  })
}

// 导出bumenbiao
export function exportMydeviceinfo(query) {
  return request({
    url: '/system/mydeviceinfo/export',
    method: 'get',
    params: query
  })
}